<?php
include 'common/check.php';
include 'common/smarty.php';
include '../business/user_manager.php';
include_once '../entity/user_entity.php';

$userID = $_SESSION['userID'];
$userMng = new UserMng();

$userID = $_SESSION['userID'];
$userEntity = $userMng->get($userID);

$tpl->assign("email", $userEntity->email);
$tpl->assign("firstName", $userEntity->firstName);
$tpl->assign("lastName", $userEntity->lastName);

$tpl->display("account.html");

?>
